//
//  JCUser.swift
//  SinaWeibo_18
//
//  Created by mac on 15/10/17.
//  Copyright © 2015年 cz. All rights reserved.
//

import UIKit

class JCUser: NSObject {

    //用户小头像
    var profile_image_url: String?
    
    //名称
    var name: String?
    //会员类型
    var mbtype: Int = 0{
        didSet{
            isVip = (mbtype > 2)
        }
    }
    //会员等级
    var mbrank: Int = 0
    //是否是会员
    var isVip: Bool = false
    
    init(dict: [String: AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
    }
}
